// import React  from 'react'
// import {lazy,Suspense } from 'react'
// import { Navigate, } from 'react-router-dom'
// const CustomerState = lazy(() => import('../Content/customerState'));
// const CustomerAnalysis = lazy(() => import('../Content/customerAnalysis'));
// const GenToGong = lazy(() => import('../Content/genToGong'));
// const YearCurve = lazy(() => import('../Content/yearCurve'));
// const Staffline = lazy(() => import('../Content/genToGong/staffline'));
// const Departline = lazy(() => import('../Content/genToGong/departline'));
// // const DetailData = lazy(() => import('../Content/detailData'));

// const routesarr =  [
//     {
//         path:"/home/cusState",
//         element:<Suspense><CustomerState/></Suspense>
//     },
//     {
//         path:"/home/cusAnalysis",
//         element:<Suspense><CustomerAnalysis/></Suspense>
//     },

//     {
//         path:"/home/genToGong",
//         element:<Suspense><GenToGong/></Suspense>,
//         children:[
//             {
//                 path:'staffline',
//                 element:<Suspense><Staffline/></Suspense>
//             },
//             {
//                 path:'departline',
//                 element:<Suspense><Departline/></Suspense>
//             },
//             {
//                 path:"",
//                 element:<Navigate to='staffline'/>
//             },
//         ]
//     },
//     {
//         path:"/home/yearCurve",
//         element:<Suspense><YearCurve/></Suspense>
//     },
//     {
//         path:'/home/cusState',
//         element:<Navigate to='/home/cusState'/>
//     },

// ]

// export default routesarr
